<template>
	<view class="page">
		<view class="">
			<button @click="star">开启闹钟</button>
			<button @click="stop">关闭闹钟</button>
			<button @click="starlater">1分钟后开启闹钟</button>
		</view>
	</view>
</template>

<script>
	import zhendong from '@/js_sdk/hhom-2/zhendong.js';
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			star() {
				zhendong.vibrate()
			},
			stop() {
				zhendong.cancelVibrate()
			},
			starlater() {
				
			},
		}
	}
</script>

<style lang="less">
.page {
	height: 100vh;
	background-color: #eee;
	display: flex;
	justify-content: center;
	align-items: center;
}
</style>
